import pickle


class Bin_storage:

    def read(self, path):
        with open(path, 'rb') as handle:
            in_dict = pickle.load(handle)
            return in_dict


if __name__ == '__main__':
    bin = Bin_storage()

    # d = f10.read('f10/2019-06-13.f10')
    d = bin.read('f12/f10/2019-06-30.f10')
    print(d)
